package md.lesson;

import java.util.Scanner;

public class Temperature {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		System.out.println("请输入华氏度：");
		double f = scanner.nextDouble();
		
//		double c = ((double)f-32)*(double)5/9;
		System.out.println("您输入的华氏度是：" + f );
		System.out.println("您输入的摄氏度是" + (f-32)*5/9 );
		
		

	}

}
